from attributes import Sort

class Shader(object):

  def __init__(self, name):
    self.name = name
    self.sort = Sort(value=Sort.OPAQUE)
    self.stages = []

  def __str__(self):
    return 'Shader("%s", %d stages)' % (self.name, len(self.stages))
